#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"
void test1()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 9);
	SLTPushBack(&plist, 8);
	SLTPushBack(&plist, 7);
	SLTPushBack(&plist, 6);
	SLTPushBack(&plist, 5);
	SLTPrint(plist);
	SLTPopBack(&plist);
	SLTPopFront(&plist);
	SLTNode* pos = IsFind(plist, 7);
	SLTInsert(&plist, pos, 123);
	SLTPrint(plist);
}
void test2()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 9);
	SLTPushBack(&plist, 8);
	SLTPushBack(&plist, 7);
	SLTPushBack(&plist, 6);
	SLTPushBack(&plist, 5);
	SLTPrint(plist);
	SLTPushFront(&plist, 5);
	SLTPrint(plist);
	SLTPopBack(&plist);
	SLTPopFront(&plist);
	SLTNode* pos = IsFind(plist, 7);
	SLTInsert(&plist, pos, 123);
	SLTPrint(plist);
}
int main()
{
	test2();
}